Page({
  data: {},
  async onLoad() {
    const { data, code } = await wx.http({
      url: '/announcement',
    })
    if (code !== 10000) return wx.utils.toast
    console.log(data)
  },
})
